<extend name="Public/base"/>

<block name="body">
  <!-- 按钮工具栏 -->
  <div class="cf">
    <div class="fl">
      <a class="btn" href="{:U('cashList')}">刷 新</a>（点击"刷新"按钮清除搜索条件，显示全部信息。）
    </div>

    <!-- 高级搜索 -->
    <form action="{:U()}" method="GET" id="J_search_form">
    <div class="search-form fr cf">
      <div class="fl">
        状态筛选：
        <select name="status">
         <option value="">请选择</option>>
         <volist name="status" id="voo">
          <option value="{$key}">{$voo}</option>
         </volist>
        </select>
      </div>
      <div class="sleft">
        <input type="text" name="keywords" class="search-input" value="{:I('keywords')}" placeholder="请输入查询关键字">
        <a class="sch-btn" href="javascript:;" id="J_search"><i class="btn-search"></i></a>
      </div>
    </div>
    </form>
  </div>

  <!-- 数据表格 -->
  <div class="data-table table-striped">
    <form class="ids">
      <table>
        <thead>
          <tr>
            <th>提现ID</th>
            <th>提现银行</th>
            <th>提现账号</th>
            <th>提现金额</th>
            <th>手续费</th>
            <th>提现备注</th>
            <th>拒绝原因</th>
            <th>申请时间</th>
            <th>提现状态</th>
          </tr>
        </thead>
        <tbody>
        <notempty name="list">
        <volist name="list" id="vo">
          <tr>
            <td>{$vo.id}</td>
            <td>{$vo.bank_name}</td>
            <td>{$vo.bank_account}</td>
            <td>{:sprintf('%.2f', $vo['amount'])}元</td>
            <td>{$vo.fee}</td>
            <td>{$vo.memo}</td>
            <td><notempty name="vo.remark">{$vo.remark}<else />无</notempty></td>
            <td>{$vo.ctime|time_format}</td>
            <td>{$vo.status|get_store_withdraw_text}</td>
          </tr>
        </volist>
        <else/>
        <tr><td colspan="10" class="text-center"> aOh! 暂时还没有内容! </td></tr>
        </notempty>
        </tbody>
      </table>
    </form>
    <!-- 分页 -->
    <div class="page">{$_page}</div>
  </div>
</block>

<block name="script">
  <script type="text/javascript">
    $(function(){
      //Core.setValue('flow', '{:I("flow")}');
      //导航高亮
      highlight_subnav("{:U('cashList')}");
    });
  </script>
</block>